package org.jeecg.trace.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 物料工件关联表
 * @Author: shaolong
 * @Date:   2022-10-26
 * @Version: V1.0
 */
@Data
@TableName("mes_statusword_value")
@ApiModel(value="物料工件关联对象", description="物料工件关联表")
public class MesStatusWordValue implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@Excel(name = "主键ID", width = 15)
    @ApiModelProperty(value = "主键ID")
    private java.math.BigDecimal recId;
	/**历史记录ID*/
    @ApiModelProperty(value = "历史记录ID")
    private String unithistId;
	/**产线或产线组*/
	@Excel(name = "不良原因", width = 15)
    @ApiModelProperty(value = "不良原因")
    private String value;
	/**工件号*/
	@Excel(name = "设备ID", width = 15)
    @ApiModelProperty(value = "设备ID")
    private String wordid;

    /**
     * 更新时间
     */
    @Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date ctime;

}
